package org.colin.dictPojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiRuiFeng
 * @since 2021-01-09
 */
@TableName("d_study_level")
public class DStudyLevel extends Model<DStudyLevel> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学习等级名称
     */
    @TableField("levelName")
    private String levelName;

    /**
     * 等级
     */
    private String level;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建人
     */
    @TableField("createUser")
    private Integer createUser;

    /**
     * 创建事件
     */
    @TableField("createTime")
    private LocalDateTime createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "DStudyLevel{" +
        "id=" + id +
        ", levelName=" + levelName +
        ", level=" + level +
        ", remarks=" + remarks +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        "}";
    }
}
